package initialize

import (
	"github.com/gin-gonic/gin"
	"go-learn/router"
)

func Routers() *gin.Engine {
	var Router = gin.Default()
	PublicGroup := Router.Group("")
	{
		router.RedisRouter(PublicGroup)
		router.MongodbRouter(PublicGroup)
		router.MysqlRouter(PublicGroup)
	}
	return Router
}
